home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
PDraw3.0.adf
/
pdraw_rex.lzh
/
SplitFileName.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-06-15
|
244b
|
14 lines
/*
SplitFileName.rexx
This macro will separate the filename from a pathname
*/
parse arg pathname
colon = lastpos('/', pathname)
if colon = 0 then colon = pos(':', pathname)
if colon = 0 then return("")
else return(left(pathname, colon))